import java.util.*;

public class level2 {
    Random genarator = new Random();

    private String intquestion;
    private final String[] symbol1 = {"+", "*","-","/"};


    String S1 = symbol1[genarator.nextInt(4)];
    String S2 = symbol1[genarator.nextInt(3)];
    String S3 = symbol1[genarator.nextInt(4)];

    int num1= genarator.nextInt(9)+1;
    int num2= genarator.nextInt(9)+1;
    int num3= genarator.nextInt(9)+1;
    int num4= genarator.nextInt(9)+1;

    public String getLevel2(){
        intquestion = (+ num1 + " "+ S1 + " "+ num2 +" " +  S2 +" " +

                         num3 + " "+ S3 +" "+  num4 + " ");
        return intquestion;
    }

    public String Level2(){

        String s1 = num1 + "";
        String s2 = num2 + "";
        String s3 = num3 + "";
        String s4 = num4 + "";

        String str = "";

        Set<String> set = new HashSet<String>();
        set.add(S1);
        set.add(S2);
        set.add(S3);
        set.add(s1);
        set.add(s2);
        set.add(s3);
        set.add(s4);
        str = set.toString();

        return str;

    }
}
